package com.xiaotu.code.service.mquene;

import java.io.Serializable;
import java.util.List;

import com.xiaotu.code.model.quene.SettingMqQuene;
import com.xiaotu.code.system.ServiceException;

/**
 * MQ队列Service接口.
 * 
 * @author chenxiangrong
 * 
 */
public interface SettingMqQueneService extends Serializable {

	/**
	 * 获取已启用的队列列表.
	 * 
	 * @return
	 */
	List<SettingMqQuene> getEnabledList() throws ServiceException;

	/**
	 * 
	 * 获取本节点需要监听的队列列表.
	 * 
	 * @return
	 */
	List<SettingMqQuene> getLitenerList() throws ServiceException;

	/**
	 * 获取获取本节点需要发送的消息体接受者.
	 */
	SettingMqQuene getLitenerByQueneName(String queneName) throws ServiceException;
}
